776.41.7. Where an individual is resident in Canada only during part of a taxation year, the following rules apply for the purpose of determining the amount that may be deducted by the individual under section 776.41.5 in computing the individual’s tax otherwise payable for the year under this Part: (a) in respect of any period in the year throughout which the individual was resident in Canada, the amount deductible under section 776.41.5 must be computed as though that period were a whole taxation year and the amount that would have been deductible under section 776.41.5, if the individual had been resident in Canada throughout the year, were replaced by an amount equal to the proportion of the amount that the number of days in that period is of the number of days in the year; and
(b) in respect of a period in the year that is not referred to in subparagraph a, the amount deductible under section 776.41.5 must be computed as though that period were a whole taxation year.
Notwithstanding the foregoing, the amount deductible by the individual for the year under section 776.41.5, as a consequence of the application of the rules set out in the first paragraph, shall not exceed the amount that would have been otherwise deductible, under section 776.41.5, if the individual had been resident in Canada throughout the year.